Optimal. Leaf size=104 \[ \frac{\sqrt{\pi } (e+f x) e^{-\frac{a}{b p q}} \left (c \left (d (e+f x)^p\right )^q\right )^{-\frac{1}{p q}} \text{Erfi}\left (\frac{\sqrt{a+b \log \left (c \left (d (e+f x)^p\right )^q\right )}}{\sqrt{b} \sqrt{p} \sqrt{q}}\right )}{\sqrt{b} f \sqrt{p} \sqrt{q}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.1795, antiderivative size = 104, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.227, Rules used = {2389, 2300, 2180, 2204, 2445} \[ \frac{\sqrt{\pi } (e+f x) e^{-\frac{a}{b p q}} \left (c \left (d (e+f x)^p\right )^q\right )^{-\frac{1}{p q}} \text{Erfi}\left (\frac{\sqrt{a+b \log \left (c \left (d (e+f x)^p\right )^q\right )}}{\sqrt{b} \sqrt{p} \sqrt{q}}\right )}{\sqrt{b} f \sqrt{p} \sqrt{q}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2389
Rule 2300
Rule 2180
Rule 2204
Rule 2445
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{a+b \log \left (c \left (d (e+f x)^p\right )^q\right )}} \, dx &=\operatorname{Subst}\left (\int \frac{1}{\sqrt{a+b \log \left (c d^q (e+f x)^{p q}\right )}} \, dx,c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\operatorname{Subst}\left (\frac{\operatorname{Subst}\left (\int \frac{1}{\sqrt{a+b \log \left (c d^q x^{p q}\right )}} \, dx,x,e+f x\right )}{f},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\operatorname{Subst}\left (\frac{\left ((e+f x) \left (c d^q (e+f x)^{p q}\right )^{-\frac{1}{p q}}\right ) \operatorname{Subst}\left (\int \frac{e^{\frac{x}{p q}}}{\sqrt{a+b x}} \, dx,x,\log \left (c d^q (e+f x)^{p q}\right )\right )}{f p q},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\operatorname{Subst}\left (\frac{\left (2 (e+f x) \left (c d^q (e+f x)^{p q}\right )^{-\frac{1}{p q}}\right ) \operatorname{Subst}\left (\int e^{-\frac{a}{b p q}+\frac{x^2}{b p q}} \, dx,x,\sqrt{a+b \log \left (c d^q (e+f x)^{p q}\right )}\right )}{b f p q},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\frac{e^{-\frac{a}{b p q}} \sqrt{\pi } (e+f x) \left (c \left (d (e+f x)^p\right )^q\right )^{-\frac{1}{p q}} \text{erfi}\left (\frac{\sqrt{a+b \log \left (c \left (d (e+f x)^p\right )^q\right )}}{\sqrt{b} \sqrt{p} \sqrt{q}}\right )}{\sqrt{b} f \sqrt{p} \sqrt{q}}\\ \end{align*}
Mathematica [A] time = 0.0217066, size = 104, normalized size = 1. \[ \frac{\sqrt{\pi } (e+f x) e^{-\frac{a}{b p q}} \left (c \left (d (e+f x)^p\right )^q\right )^{-\frac{1}{p q}} \text{Erfi}\left (\frac{\sqrt{a+b \log \left (c \left (d (e+f x)^p\right )^q\right )}}{\sqrt{b} \sqrt{p} \sqrt{q}}\right )}{\sqrt{b} f \sqrt{p} \sqrt{q}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.269, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{\sqrt{a+b\ln \left ( c \left ( d \left ( fx+e \right ) ^{p} \right ) ^{q} \right ) }}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{b \log \left (\left ({\left (f x + e\right )}^{p} d\right )^{q} c\right ) + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{a + b \log{\left (c \left (d \left (e + f x\right )^{p}\right )^{q} \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{b \log \left (\left ({\left (f x + e\right )}^{p} d\right )^{q} c\right ) + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]